<template>
  <div class="box">
    <div class="config_header">
      <div class="select_div">
        <label><i>*</i>部门：</label>
        <my-select></my-select>
      </div>
      <div class="select_div">
        <my-date></my-date>
      </div>
      <div class="config_btn">
        <el-button type="primary" size="mini">Search</el-button>
      </div>
    </div>
    <div class="config_table">
      <my-table></my-table>
    </div>
  </div>
</template>

<script>
import mySelect from "@/components/select"
import myTable from "@/components/table"
import myDate from "@/components/DatePicker"

export default {
  data () {
    return {
      checked: true
    }
  },
  components:{
    mySelect,
    myTable,
    myDate
  }
}
</script>

<style lang="scss" scoped>
.el-main{
  padding: 0;
}
.box{
  background-color: #fff;
  height: 100%;
  padding: 12px;
  .config_header{
    border: 1px solid #d9d9d9;
    height: 82px;
    line-height: 82px;
  }
}
.el-select{
  line-height: 40px;
}
.select_div{
  padding-left: 20px;
  padding-right: 20px;
  float: left;
  height: 40px;
  font-size: 12px;
  display: flex;
  flex-direction:row;
  label{
    width: 46px;
    i{
      color: red;
      padding-right: 3px;
    }
  }
}
.config_btn{
  float: left;
  height: 40px;
}
.el-input__inner{
  width: 153px;
}
</style>
